package city;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

import country.Country;

public interface CityHome extends EJBLocalHome 
{
    City create(String name, Country country) throws CreateException;
    City findByPrimaryKey(int cityID) throws FinderException;
    City findByName(String name) throws FinderException;
    Collection<City> findAllCities() throws FinderException;
}